package com.songxh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songxh.pojo.Admin;
import com.songxh.pojo.LoginFrom;

/**
 * IService<Admin>  由mybatisplus提供的较为简单的增删改查操作
 *
 * @author songxh
 * @create 2022-04-18-19:11
 */
public interface AdminService extends IService<Admin> {
    Admin login(LoginFrom loginFrom);

    Admin getAdminById(Long id);


    IPage<Admin> getAdminByOpr(Page<Admin> page, String adminName);
}
